<?php
/**
 * 游戏积分日志模型
 * panglishan
 * 2020.10.14
 */
namespace App\Models\GameDB;

use Illuminate\Database\Eloquent\Model;

class ScoreLog extends Model{

    protected $connection = 'mysql_game';

    protected $table = 'game_score_log';

    protected $primaryKey = 'id';

    protected $fillable = [
        'id',       //主键ID
        'user_id',  //用户ID
        'score',    //变动的积分
        'add_time',    //变动的时间
        'match_id',    //比赛的ID(唯一索引)
    ];

    public $timestamps = false;


}